package cn.cvs.dao;

import cn.cvs.pojo.PowerBattery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PowerBatteryMapper {
    //查询全部
    List<PowerBattery> selectAll();

    //删除
    int delete(@Param("id")Integer id);

    //根据id显示信息
    PowerBattery selectAllById(@Param("id")Integer id);

    //修改
    int update(PowerBattery powerBattery);
}
